﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MountSilverLibraryRemake
{
    public partial class FormTimePick : Form
    {
        DateTime datemin, datemax;
        public FormTimePick(ref DateTime datemin,ref DateTime datemax)
        {
            InitializeComponent();
            this.datemin = datemin;
            this.datemax = datemax;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            datemin = dateTimePicker1.Value;
            datemax = dateTimePicker2.Value;
        }
    }
}
